namespace SimpleWebServices.Web.Mvc
{
    using System.Web.Mvc;
    using SimpleWebServices.Configuration;

    public class InternalServerErrorViewResult : ViewResult, IViewResult
    {
        public InternalServerErrorViewResult()
        {
            this.ViewName = "Error";
            this.ViewData.Model = new Default().Object<InternalServerError>().ApplyDefaultValues<InternalServerError>();
        }
    }
}